<template>
  <div class='titleborder'>
      <div class="titlespan">
        {{title}}
      </div>
    <div class='titlecontent'>
      <slot></slot>
    </div>
    <div class="lbdiv"></div>
  </div>
</template>
<script>
export default {
  name: 'bordertitleborder',
  props: ['title'],
  components: {

  },
  data() {
    return {
    };
  },
  computed: {

  },
  watch: {

  },
  mounted() {

  },
  methods: {

  },
}
</script>
<style lang='scss' scoped>

.titleborder{
  height: 100%;
  position: relative;
}

.titlespan{
  background-image: url('/home/title.png');
  background-size: 100% 100%;
  color: white;
  width: 150px;
  font-size: 15px;
  padding-top: 7px;
  height: 26px;
  line-height: 15px;
  text-align: center;
  // padding: 0px 0 0 0;
  letter-spacing: 3px;
  position: relative;
  bottom: -3px;
}
.titlecontent{
  // padding-top: 10px;
  // background-image: url('/home/gaojing.png');
  background-size: 100% 100%;
  width: 100%;
  height: calc(100% - 26px);
  border: 1px solid #09B1E6;
  box-shadow:#09B1E6 0px 0px 10px inset;
}
.lbdiv{
  background-image: url('/home/lb.png');
  position: absolute;
  bottom: -1px;
  left: -1px;
  // top: 0px;
  width: 20px;
  height: 22px;

}
</style>
